package com.spring.sso.common.login;

import com.spring.sso.common.AuthProtocol;
import com.spring.sso.common.enums.VerificationTypeEnum;
import lombok.Data;

/**
 * 验证码登陆认证协议(type = LOGIN)
 * @author : pangfuzhong
 * @description
 * @date : 2021/9/30 14:59
 */
@Data
public class VerificationLoginProtocol extends AuthProtocol {

    // 账号
    private String accountName;

    // 验证码
    private String verificationCode;

    @Override
    public VerificationTypeEnum getVerificationType() {
        return VerificationTypeEnum.LOGIN;
    }
}
